﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Master/Site_InnerWeb.master" AutoEventWireup="false"
    CodeFile="default.aspx.vb" Inherits="private_secure_members_pages_default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style1
        {
            height: 14px;
        }

        .style2
        {
            height: 21px;
        }

        .style3
        {
            width: 207px;
        }

        .style4
        {
            height: 21px;
            width: 207px;
        }

        .style5
        {
            height: 21px;
            width: 406px;
        }

        .style6
        {
            width: 406px;
        }

        .style7
        {
            width: 402px;
        }

        .style8
        {
            width: 235px;
        }

        .auto-style1
        {
            width: 172px;
        }

        .auto-style2
        {
            height: 21px;
            width: 172px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h3>Dashboard</h3>

    <hr />
    &nbsp;<strong>Account</strong>:
    <asp:Label ID="lblUserDisplay" runat="server"></asp:Label>
    &nbsp;-
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/private/RegUserPlan.aspx">Upgrade User Plan</asp:HyperLink>
    <table>
        <tr>
            <td>Please choose your Organisation/Business:
            </td>
            <td>
                <asp:DropDownList ID="ddlEntity" runat="server" DataSourceID="SqlEntity_ds" DataTextField="Name"
                    DataValueField="ID" Width="200px" AutoPostBack="True" AppendDataBoundItems="True">
                    <asp:ListItem Value="0">Please Select ...</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:SqlDataSource ID="SqlEntity_ds" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    SelectCommand="usp_GetEntityList_ByPersonId" SelectCommandType="StoredProcedure">
                    <SelectParameters>
                        <asp:Parameter Name="PersonId" Type="Int32" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
    </table>
    <table style="width: 100%">
        <tr>
            <td>
                <table style="width: 100%">
                    <tr>
                        <td class="style7">
                            <table style="width: 99%">
                                <tr>
                                    <td class="style5">
                                        <strong>Operational Overview</strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style6">
                                        <table style="width: 106%">
                                            <tr>
                                                <td class="auto-style1">&nbsp;
                                                    <asp:Label ID="Label2" runat="server" Text="# Entities Registered"></asp:Label>
                                                    :
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblEntityCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;&nbsp;<asp:Label ID="Label12" runat="server" Text="# Associates Count"></asp:Label>
                                                    :&nbsp;
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblAssociatesCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;&nbsp;<asp:Label ID="Label3" runat="server" Text="# Associate Requests"></asp:Label>
                                                    :&nbsp;
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblAssociateRequests" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;&nbsp;<asp:Label ID="Label15" runat="server" Text="# Associate Logins Unused"></asp:Label>
                                                    :&nbsp;
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblAssociatesNotUsed" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;&nbsp;<asp:Label ID="Label16" runat="server" Text="# Active Associates"></asp:Label>
                                                    :&nbsp;
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblAssociatesActive" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;
                                                    <asp:Label ID="Label4" runat="server" Text="# Single-Use Logins:"></asp:Label>
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblSingleUseCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style2">&nbsp;
                                                    <asp:Label ID="Label5" runat="server" Text="# Single Use Logins Used:"></asp:Label>
                                                </td>
                                                <td class="style2">&nbsp;<asp:Label ID="lblSingleUseUsed" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;
                                                    <asp:Label ID="Label6" runat="server" Text="# Campaigns:"></asp:Label>
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblCampaignCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;
                                                    <asp:Label ID="Label7" runat="server" Text="# Recipient Lists"></asp:Label>
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblListsCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style2">&nbsp;
                                                    <asp:Label ID="Label8" runat="server" Text="# Recipients (All Lists):"></asp:Label>
                                                </td>
                                                <td class="style2">&nbsp;<asp:Label ID="lblRecipientsCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style1">&nbsp;
                                                    <asp:Label ID="Label9" runat="server" Text=" # Campaign Filters:"></asp:Label>
                                                </td>
                                                <td>&nbsp;<asp:Label ID="lblCampaignFilterCount" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style2">&nbsp;
                                                    <asp:Label ID="Label13" runat="server" Text="# Cards on File:"></asp:Label>
                                                </td>
                                                <td class="style2">&nbsp;<asp:Label ID="lblCardsOnFile" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style2">&nbsp;
                                                    <asp:Label ID="Label10" runat="server" Text="# Credits Purchased:"></asp:Label>
                                                </td>
                                                <td class="style2">&nbsp;<asp:Label ID="lblCreditsPurchased" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style2">&nbsp;
                                                    <asp:Label ID="Label11" runat="server" Text="# Credits Remaining:"></asp:Label>
                                                </td>
                                                <td class="style2">&nbsp;<asp:Label ID="lblCreditsRemaining" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="auto-style2">&nbsp;
                                                    <asp:Label ID="Label1" runat="server" Text="# Credits Used:"></asp:Label>
                                                </td>
                                                <td class="style2">&nbsp;<asp:Label ID="lblCreditsUsed" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            <table style="width: 100%">
                                <tr>
                                    <td class="style1">
                                        <strong>Available Options</strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table style="width: 100%">
                                            <tr>
                                                <td class="style8">
                                                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/private/secure_members/manage/MyCampaign.aspx">Message Campaigns</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/private/secure_members/manage/MyContent.aspx">Message Content</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/private/secure_members/manage/MyCampaignFilter.aspx">Campaign Filters</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/private/secure_members/manage/MyTargetList.aspx">Lists &amp; Recipients</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/private/secure_admin/AssociateLoginRequest.aspx">Associate Login Requests</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/private/secure_admin/SingleUseTokenRequest.aspx">Single-Use Tokens Request</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/private/secure_members/payment/MyCredit.aspx">Purchase Credits</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink12" runat="server">Check Message Delivery</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/private/secure_members/manage/MyEntity.aspx">Company/Organisation Details</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink10" runat="server" NavigateUrl="~/private/secure_members/manage/MyDetails.aspx">Maintain Your Details</asp:HyperLink>
                                                    <br />
                                                    <asp:HyperLink ID="HyperLink13" runat="server" NavigateUrl="~/private/secure_members/manage/MyCardDetails.aspx">Manage Credit Cards</asp:HyperLink>
                                                    <br />
                                                </td>
                                                <td>&nbsp;
                                                </td>
                                                <td>
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <asp:HyperLink ID="HyperLink11" runat="server" NavigateUrl="~/private/secure_members/pages/Dashboard.aspx">Send A Message</asp:HyperLink>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:Image ID="Image2" runat="server" ImageUrl="~/i/Lighthouse_100x100.jpg" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <hr />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>Scheduled A Message </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/i/Desert_100x100.jpg" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <hr />
            </td>
        </tr>
    </table>
    <table style="width: 100%">
        <tr>
            <td>
                <strong>Latest Campaigns</strong>
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
                    Width="100%">
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
